package cn.stylefeng.guns.modular.business.neo4j.repository;

import cn.stylefeng.guns.modular.business.neo4j.entity.Riverway;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface RiverwayRepository extends Neo4jRepository<Riverway,Long> {
    List<Riverway> findAllByTitle(String title);
    List<Riverway> findAllByTitle(Iterable title);
    List<Riverway> findAllByTitleLike(String title);
}
